package starblaze.error 
{
  import starblaze.Constant;
	
  public class DuplicateConstantError extends Error
  {
    
    private var m_constant:Constant = null;
    public function get constant():Constant { return m_constant; }
    
    public function DuplicateConstantError(constant:Constant) 
    {
      super("Constant already registered: " + constant.name);
      m_constant = constant;
    }
    
  }

}
